Matthias Clasen [Mon, 13 Sep 2004 17:34:54 +0000 (17:34 +0000)]
Resize the popup if the model is replaced. (#152333)
2004-09-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentrycompletion.c (gtk_entry_completion_get_model): Resize the
popup if the model is replaced. (#152333)
Manish Singh [Mon, 13 Sep 2004 16:09:37 +0000 (16:09 +0000)]
fix gtk_range_real_change_value args. Addresses part of #152518.
Mon Sep 13 09:11:53 2004 Manish Singh <yosh@gimp.org>
* gtk/gtkrange.c: fix gtk_range_real_change_value args. Addresses part
of #152518.
Matthias Clasen [Mon, 13 Sep 2004 16:00:00 +0000 (16:00 +0000)]
Fix some problems reported by Morten Welinder:
2004-09-13 Matthias Clasen <mclasen@redhat.com>
Fix some problems reported by Morten Welinder:
* gtk/gtkfilesystem.c: Include gtkmodules.h, not gtkmain.h, since
the modules stuff moved.
* gtk/gtkmain.c (gtk_arg_no_debug_cb): Add a missing return
* gtk/gtksettings.c: Add missing include.
(settings_update_modules): Remove an unused variable.
Matthias Clasen [Mon, 13 Sep 2004 14:20:12 +0000 (14:20 +0000)]
Improve positioning of entry completion popup.
2004-09-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
Improve positioning of entry completion popup.
Matthias Clasen [Mon, 13 Sep 2004 14:15:03 +0000 (14:15 +0000)]
Improve positioning of entry completion popup.
2004-09-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
Improve positioning of entry completion popup.
Matthias Clasen [Thu, 9 Sep 2004 19:44:24 +0000 (19:44 +0000)]
Use the short prefix "IA__" for aliases instead of the long suffix
2004-09-09 Matthias Clasen <mclasen@redhat.com>
* gtk/makegtkalias.pl:
* gdk/makegdkalias.pl: Use the short prefix "IA__" for
aliases instead of the long suffix "__internal_alias".
Matthias Clasen [Thu, 9 Sep 2004 13:52:16 +0000 (13:52 +0000)]
Typo fix.
Matthias Clasen [Thu, 9 Sep 2004 12:46:25 +0000 (12:46 +0000)]
Update sensitivity of the "Select all" button.
2004-09-09 Matthias Clasen <mclasen@redhat.com>
* tests/testfilechooser.c (main): Update sensitivity of the "Select all"
button.
Soeren Sandmann [Wed, 8 Sep 2004 16:40:31 +0000 (16:40 +0000)]
Make dropping of expandable items look nicer.
Wed Sep 8 18:38:08 2004 Soeren Sandmann <sandmann@redhat.com>
Make dropping of expandable items look nicer.
* gtk/gtktoolbar.c (gtk_toolbar_set_drop_highlight_item): Make
placeholder expand if highlight item is expanding.
* gtk/gtktoolbar.c (toolbar_content_set_expand): New function.
* gtk/gtktoolbar.c (toolbar_content_get_expand): Return TRUE only
if the item is not disappering.
Adam Weinberger [Tue, 7 Sep 2004 20:52:17 +0000 (20:52 +0000)]
Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
Matthias Clasen [Tue, 7 Sep 2004 17:33:07 +0000 (17:33 +0000)]
Use the proper node type for placeholders in toolbars. (#151963, Olivier
2004-09-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Use the proper node type
for placeholders in toolbars. (#151963, Olivier Andrieu)
Matthias Clasen [Tue, 7 Sep 2004 16:16:09 +0000 (16:16 +0000)]
Draw expanders a bit better.
2004-09-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkstyle.c (gtk_default_draw_expander): Draw expanders a bit
better.
Matthias Clasen [Sun, 5 Sep 2004 21:15:58 +0000 (21:15 +0000)]
Add descriptions for the commandline arguments. The actual descriptions
Sun Sep 5 17:14:16 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkmain.c:
* gdk/gdk.c:
* gdk/x11/gdkmain-x11.c:
* gdk/win32/gdkmain-win32.c: Add descriptions for the
commandline arguments. The actual descriptions are mostly
taken from libbonoboui, so translators should be able to
copy existing translations from there.
Anders Carlsson [Sun, 5 Sep 2004 15:14:21 +0000 (15:14 +0000)]
Add new functions
2004-09-05 Anders Carlsson <andersca@gnome.org>
* gdk/gdk.symbols:
* gtk/gtk.symbols:
Add new functions
2004-09-05 Anders Carlsson <andersca@gnome.org>
* gdk/gdk.c: (gdk_arg_class_cb), (gdk_arg_name_cb),
(gdk_add_option_entries_libgtk_only), (gdk_pre_parse_libgtk_only),
(gdk_parse_args):
* gdk/gdk.h:
* gdk/gdkinternals.h:
* gdk/linux-fb/gdkmain-fb.c: (_gdk_windowing_init):
* gdk/win32/gdkmain-win32.c: (_gdk_windowing_init):
* gdk/x11/gdkdisplay-x11.c: (gdk_display_open):
* gdk/x11/gdkmain-x11.c: (_gdk_windowing_init):
* gtk/gtkmain.c: (gtk_arg_debug_cb), (gtk_arg_no_debug_cb),
(gtk_arg_module_cb), (gtk_arg_warnings_cb),
(do_pre_parse_initialization), (do_post_parse_initialization),
(pre_parse_hook), (post_parse_hook), (gtk_get_option_group),
(gtk_init_with_args), (gtk_parse_args):
* gtk/gtkmain.h:
Make gtk argument parsing use goption. Add gtk_get_option_group and
gtk_init_with_args.
* tests/testtreemodel.c: (main):
Use gtk_init_with_args.
Anders Carlsson [Sun, 5 Sep 2004 15:09:55 +0000 (15:09 +0000)]
Make gtk argument parsing use goption. Add gtk_get_option_group and
2004-09-05 Anders Carlsson <andersca@gnome.org>
* gdk/gdk.c: (gdk_arg_class_cb), (gdk_arg_name_cb),
(gdk_add_option_entries_libgtk_only), (gdk_pre_parse_libgtk_only),
(gdk_parse_args):
* gdk/gdk.h:
* gdk/gdkinternals.h:
* gdk/linux-fb/gdkmain-fb.c: (_gdk_windowing_init):
* gdk/win32/gdkmain-win32.c: (_gdk_windowing_init):
* gdk/x11/gdkdisplay-x11.c: (gdk_display_open):
* gdk/x11/gdkmain-x11.c: (_gdk_windowing_init):
* gtk/gtkmain.c: (gtk_arg_debug_cb), (gtk_arg_no_debug_cb),
(gtk_arg_module_cb), (gtk_arg_warnings_cb),
(do_pre_parse_initialization), (do_post_parse_initialization),
(pre_parse_hook), (post_parse_hook), (gtk_get_option_group),
(gtk_init_with_args), (gtk_parse_args):
* gtk/gtkmain.h:
Make gtk argument parsing use goption. Add gtk_get_option_group and
gtk_init_with_args.
* tests/testtreemodel.c: (main):
Use gtk_init_with_args.
Marius Andreiana [Sun, 5 Sep 2004 11:18:46 +0000 (11:18 +0000)]
updated by Misu Moldovan
2004-09-05 Marius Andreiana <marius galuna.ro>
* ro.po: updated by Misu Moldovan
Marius Andreiana [Sun, 5 Sep 2004 09:32:48 +0000 (09:32 +0000)]
updated
2004-09-05 Marius Andreiana <marius galuna.ro>
* ro.po: updated
Matthias Clasen [Sun, 5 Sep 2004 05:06:05 +0000 (05:06 +0000)]
Allow sorting of tree models to be turned off again. (#151139, Torsten
Sun Sep 5 01:04:01 2004 Matthias Clasen <maclas@gmx.de>
Allow sorting of tree models to be turned off
again. (#151139, Torsten Schoenfeld)
* gtk/gtktreesortable.h:
Add GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID.
* gtk/gtktreestore.c (gtk_tree_store_sort):
* gtk/gtkliststore.c (gtk_list_store_sort): Don't sort if
the list store is not sorted.
Matthias Clasen [Sun, 5 Sep 2004 03:39:07 +0000 (03:39 +0000)]
Fix the Solaris Xinerama checks. (#151754)
Sat Sep 4 23:37:56 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Fix the Solaris Xinerama checks. (#151754)
Matthias Clasen [Sun, 5 Sep 2004 03:00:54 +0000 (03:00 +0000)]
Don't refuse to delete text in passwords. (#151723, Owen Taylor)
Sat Sep 4 22:45:49 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentry.c (gtk_entry_backspace): Don't refuse to delete
text in passwords. (#151723, Owen Taylor)
Søren Sandmann [Sat, 4 Sep 2004 15:07:16 +0000 (15:07 +0000)]
Revert accidental change from Aug 02 that removed a flush of the X
Sat Sep 4 16:51:00 2004 Søren Sandmann <sandmann@redhat.com>
* gdk/x11/gdkevents-x11.c (gdk_event_prepare): Revert accidental
change from Aug 02 that removed a flush of the X connection from
gdk_event_prepare() causing applications to get stuck. (#151732,
Richard Hoelscher).
Matthias Clasen [Sat, 4 Sep 2004 02:55:13 +0000 (02:55 +0000)]
Don't print out attributes for the <ui> root node. (#151752, Lorenzo Gil
Fri Sep 3 22:45:03 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkuimanager.c (print_node): Don't print out attributes
for the <ui> root node. (#151752, Lorenzo Gil Sánchez)
Søren Sandmann [Sat, 4 Sep 2004 00:44:04 +0000 (00:44 +0000)]
Accelerate the animation when it has been running for a while. (#143647).
Sat Sep 4 02:38:57 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtktoolbar.c (position): Accelerate the animation when it
has been running for a while. (#143647).
Tor Lillqvist [Fri, 3 Sep 2004 01:27:57 +0000 (01:27 +0000)]
List the three theme gtkrc files separately, zip doesn't do anything if
2004-09-03 Tor Lillqvist <tml@iki.fi>
* gtk-zip.sh.in: List the three theme gtkrc files separately, zip
doesn't do anything if one of the files on its command line
doesn't exist.
Handle changes of screen resolution on Win32. (#151581, reported by
Arjohn Kampman)
* gdk/win32/gdkwindow-win32.c (_gdk_windowing_window_init,
_gdk_root_window_size_init): Factor out setting the root window's
size (as the size of the union of all monitors) to a new function.
* gdk/win32/gdkdisplay-win32.c (gdk_display_open,
_gdk_monitor_init): Factor out the monitor query to a new
function.
* gdk/win32/gdkprivate-win32.h: Declare above new functions.
* gdk/win32/gdkevents-win32.c (gdk_event_translate,
handle_display_change): Handle WM_DISPLAYCHANGE by calling the
above two functions, and emitting the "size_changed" signal on our
(only) GdkScreen.
Adam Weinberger [Thu, 2 Sep 2004 03:38:22 +0000 (03:38 +0000)]
Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
Matthias Clasen [Wed, 1 Sep 2004 21:26:35 +0000 (21:26 +0000)]
Document the return value.
2004-09-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_get_popup_accessible):
Document the return value.
Matthias Clasen [Wed, 1 Sep 2004 21:21:34 +0000 (21:21 +0000)]
Updates.
2004-09-01 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk-sections.txt: Updates.
Matthias Clasen [Wed, 1 Sep 2004 21:08:12 +0000 (21:08 +0000)]
Align argument names with source.
2004-09-01 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-core.h: Align argument names with source.
Matthias Clasen [Wed, 1 Sep 2004 21:06:09 +0000 (21:06 +0000)]
Add some missing declarations.
2004-09-01 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf/gdk-pixbuf-sections.txt: Add some missing
declarations.
Matthias Clasen [Wed, 1 Sep 2004 20:41:46 +0000 (20:41 +0000)]
Mention that modules can also be specified in a setting.
2004-09-01 Matthias Clasen <mclasen@redhat.com>
* gtk/running.sgml: Mention that modules can also
be specified in a setting.
Matthias Clasen [Wed, 1 Sep 2004 20:30:24 +0000 (20:30 +0000)]
Make it possible to specify additional modules to load via a setting.
2004-09-01 Matthias Clasen <mclasen@redhat.com>
Make it possible to specify additional modules to load
via a setting. (#117236, Alex Graveley)
* gtk/gtkmodules.h:
* gtk/gtkmodules.c: New files which contain the module
handling code which was previously in gtkmain.[hc].
Additionally, the code now looks for the gtk-modules
setting, which can specify additional modules to load.
* gtk/gtkmain.c:
* gtk/gtkmain.h: Remove all the module handling code.
* gtk/gtkdebug.h: Add a debug flag for modules.
* gtk/gtk.h: Include gtkmodules.h
* gtk/Makefile.am (gtk_public_h_sources): Add gtkmodules.h
(gtk_c_sources): Add gtkmodules.c
* gtk/gtksettings.c: Add the gtk-modules setting.
* gdk/x11/gdkevents-x11.c: Add the Gtk/Modules XSetting.
Søren Sandmann [Wed, 1 Sep 2004 17:55:09 +0000 (17:55 +0000)]
Make sure children of the toolbar are given positive dimensions. (149540,
Wed Sep 1 19:11:44 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Make sure
children of the toolbar are given positive dimensions. (149540,
Felipe Heidrich).
Matthias Clasen [Wed, 1 Sep 2004 16:42:09 +0000 (16:42 +0000)]
Protect the unistd.h include by HAVE_UNISTD_H.
2004-09-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilesystemunix.c:
* gtk/gtkfilechooserbutton.c: Protect the unistd.h include
by HAVE_UNISTD_H.
Matthias Clasen [Wed, 1 Sep 2004 06:39:59 +0000 (06:39 +0000)]
Make accel labels ellipsize correctly. (#151559, Christian Persch)
Wed Sep 1 02:38:48 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkaccellabel.c (gtk_accel_label_expose_event): Make
accel labels ellipsize correctly. (#151559, Christian Persch)
Matthias Clasen [Wed, 1 Sep 2004 04:57:02 +0000 (04:57 +0000)]
Don't leak the iter of a running animation. (#151542)
Wed Sep 1 00:55:56 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkimage.c (gtk_image_clear): Don't leak the iter
of a running animation. (#151542)
Matthias Clasen [Wed, 1 Sep 2004 03:41:35 +0000 (03:41 +0000)]
Make "ms-windows" the default theme on Win32.
Tue Aug 31 23:40:29 2004 Matthias Clasen <maclas@gmx.de>
* gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Make
"ms-windows" the default theme on Win32.
Matthias Clasen [Wed, 1 Sep 2004 03:25:57 +0000 (03:25 +0000)]
Only start a drag if the left button is pressed. (#151490, Frederic
Tue Aug 31 23:24:49 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcalendar.c (gtk_calendar_main_button): Only start
a drag if the left button is pressed. (#151490, Frederic Croszat)
Matthias Clasen [Wed, 1 Sep 2004 03:21:30 +0000 (03:21 +0000)]
Remove debug spew.
Tue Aug 31 23:20:58 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkdnd-x11.c (gdk_drop_finish): Remove debug spew.
Jonathan Blandford [Tue, 31 Aug 2004 21:15:51 +0000 (21:15 +0000)]
constrain cell area to passed in cell_area, #147867
Tue Aug 31 17:07:41 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeviewcolumn.c
(gtk_tree_view_column_cell_process_action): constrain cell area to
passed in cell_area, #147867
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): if
ellipsizing, get_size is only 3 chars wide.
* docs/tree-column-sizing.png: Add Matthias's excellent image.
Robert Ögren [Tue, 31 Aug 2004 19:13:24 +0000 (19:13 +0000)]
On Win32, do not produce tablet motion or button events while a window is
2004-08-28 Robert Ögren <gtk@roboros.com>
On Win32, do not produce tablet motion or button events while a
window is being moved or resized. (#151090, reported by Shaneyfelt)
* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkglobals-win32.c
* gdk/win32/gdkevents-win32.c: Rename the variable resizing to
_sizemove_in_progress and make it extern.
* gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Ignore
motion and button events if _sizemove_in_progress is true.
Arafat Medini [Mon, 30 Aug 2004 22:41:15 +0000 (22:41 +0000)]
Updated Arabic Translation
2004-08-31 Arafat Medini <lumina@silverpen.de>
* ar.po: Updated Arabic Translation
Tor Lillqvist [Mon, 30 Aug 2004 20:58:57 +0000 (20:58 +0000)]
Make the ms-windows theme engine build with mingw.
2004-08-30 Tor Lillqvist <tml@iki.fi>
Make the ms-windows theme engine build with mingw.
* configure.in: Expand also modules/engines/ms-windows/Theme/
Makefile and .../Theme/gtk-2.0/Makefile.
* modules/engines/ms-windows/Makefile.am: Adapt for building
inside the GTK sources.
* modules/engines/ms-windows/*.c: Use "foo.h" style includes for
GTK and GDK headers. Use correct path for gdkwin32.h header.
* modules/engines/ms-windows/msw_style.c: Don't use deprecated GDK
API.
* modules/engines/ms-windows/xp_theme_defs.h
* modules/engines/ms-windows/xp_theme.c: Move definitions of TMT_*
to xp_theme.c, as they are neither in mingw's nor Platform
SDK's tmschema.h.
* modules/engines/ms-windows/xp_theme.c: Define _WIN32_WINNT as
0x0501 to get the necesssary stuff from mingw's uxtheme.h.
Matthias Clasen [Mon, 30 Aug 2004 14:20:00 +0000 (14:20 +0000)]
Integrate the ms-windows theme engine (better known as Wimp) into the
2004-08-30 Matthias Clasen <mclasen@redhat.com>
Integrate the ms-windows theme engine (better known as Wimp)
into the autotools build. Wimp (http://gtk-wimp.sourceforge.net/)
was written by Raymond Penners and Dom Lachowicz. The Wimp 0.6.2
sources have been added to the GTK+ source tree in
modules/engines/ms-windows, and there is a ChangeLog detailing
the history of Wimp. (#109615, Havoc Pennington)
* configure.in: Generate modules/engines/Makefile and
modules/engines/ms-windows/Makefile.
* modules/Makefile.am (SUBDIRS): Add engines.
* modules/engines/Makefile.am: Compile ms-windows for win32.
Matthias Clasen [Mon, 30 Aug 2004 13:16:39 +0000 (13:16 +0000)]
Make it compile.
2004-08-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_delete_surrounding_handler): Make it compile.
2004-08-27 Matthias Clasen <mclasen@redhat.com>
Fix #151112, Olexiy Avramchenko:
* gtk/gtktreeview.c (gtk_tree_view_search_entry_flush_timeout):
* gtk/gtkiconview.c (scroll_timeout, layout_callback)
(gtk_icon_view_item_accessible_idle_do_action):
* gtk/gtkcombobox.c (list_popup_resize_idle, popdown_idle)
(popup_idle): Protect idle callbacks and timeouts with
GDK_THREADS_ENTER/_LEAVE.
* gtk/gtkfilechooserbutton.c (update_dialog_idle): New function to
call update_dialog() from an idle with the necessary protection.
Matthias Clasen [Mon, 30 Aug 2004 05:39:49 +0000 (05:39 +0000)]
Changes to make sure input methods respect the editability of entries and
Mon Aug 30 01:34:42 2004 Matthias Clasen <maclas@gmx.de>
Changes to make sure input methods respect the editability
of entries and text views. #114173, Noah Levitt.
* gtk/gtkentry.c (popup_targets_received): Make the Input
Methods menuitem insensitive if we're not editable.
* gtk/gtkentry.c (gtk_entry_delete_surrounding_cb):
* gtk/gtkentry.c (gtk_entry_preedit_changed_cb):
* gtk/gtkentry.c (gtk_entry_commit_cb): Don't change anything
if we're not editable.
* gtk/gtkentry.c (gtk_entry_focus_out):
* gtk/gtkentry.c (gtk_entry_focus_in): Only send focus_in and
focus_out to the im context if we're editable.
* gtk/gtkentry.c (gtk_entry_set_property): Reset the im context
if the entry just became non-editable.
* gtk/gtktextview.c (gtk_text_view_delete_surrounding_handler):
Use gtk_text_buffer_delete_interactive() to not delete
non-editable portions of text.
Tor Lillqvist [Mon, 30 Aug 2004 04:53:23 +0000 (04:53 +0000)]
Link with -limm32.
2004-08-30 Tor Lillqvist <tml@iki.fi>
* modules/input/Makefile.am (im_ime_la_LIBADD): Link with -limm32.
* modules/input/gtkimcontextime.c: Use quotes in #includes, to
find headers when building inside GTK+ sources.
Pawan Chitrakar [Sun, 29 Aug 2004 13:02:22 +0000 (13:02 +0000)]
Updated Nepali Translation
2004-08-29 Pawan Chitrakar <pawan@nplinux.org>
* ne.po: Updated Nepali Translation
Tor Lillqvist [Fri, 27 Aug 2004 23:38:06 +0000 (23:38 +0000)]
Add drop_failed, like in the X11 backend. Nothing sets it, though.
2004-08-27 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkdnd-win32.c (GdkDragContextPrivateWin32): Add
drop_failed, like in the X11 backend. Nothing sets it, though.
(gdk_drag_drop_succeeded): Copy from X11 backend.
Maxim Dziumanenko [Fri, 27 Aug 2004 11:17:50 +0000 (11:17 +0000)]
Updated Ukrainian translation.
2004-08-27 Maxim Dziumanenko <mvd@mylinux.com.ua>
* Updated Ukrainian translation.
Matthias Clasen [Fri, 27 Aug 2004 03:59:05 +0000 (03:59 +0000)]
Don't crash if model is not set. Noted by Mariano Suarez-Alvarez.
Thu Aug 26 23:58:11 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_key_press): Don't crash
if model is not set. Noted by Mariano Suarez-Alvarez.
Matthias Clasen [Fri, 27 Aug 2004 02:54:12 +0000 (02:54 +0000)]
Provide information about how an adjustment change in a range widget
Thu Aug 26 22:44:12 2004 Matthias Clasen <maclas@gmx.de>
Provide information about how an adjustment change in a range
widget happened. Add a "slider-moved" signal which reports how
a user is interacting with the range, whether they are clicking
on a stepper or the trough, or dragging the slider. (#133263,
Thomas Fitzsimmons)
* gtk/gtkmarshalers.list: Add signal type BOOLEAN:ENUM,DOUBLE.
* gtk/gtkrange.c (gtk_range_class_init): Add "change-value"
signal.
(gtk_range_internal_set_value): Rename to
gtk_range_real_change_value. Add GtkScrollType parameter. Emit
the change-value signal when the range's value changes.
(update_slider_position, gtk_range_scroll_event, step_back,
step_forward, page_back, page_forward, scroll_begin,
scroll_end): Change gtk_range_internal_set_value to
gtk_range_real_change_value.
* gtk/gtkrange.h (struct _GtkRangeClass): Declare change_value
function.
Matthias Clasen [Thu, 26 Aug 2004 14:29:25 +0000 (14:29 +0000)]
Build imime.la on Windows.
2004-08-26 Matthias Clasen <mclasen@redhat.com>
* modules/input/Makefile.am: Build imime.la on Windows.
* modules/input/gtkimcontextime.h:
* modules/input/gtkimcontextime.c:
* modules/input/imime.c:
* modules/input/imm-extra.h: Add the IME input method for Win32
written by Takuro Ashie and Kazuko IWAMOTO. The code was previously
hosted at http://sourceforge.jp/projects/imime. (#135195)
Bill Haneman [Thu, 26 Aug 2004 14:12:31 +0000 (14:12 +0000)]
Fix for #131226, allow selection of singleton list items in multi-select
lists, via keyboard. [on behalf of Padraig O'Briain]
Matthias Clasen [Thu, 26 Aug 2004 14:09:08 +0000 (14:09 +0000)]
Make gdk_window_process_[all]_updates() respect update_freeze_counter
2004-08-26 Matthias Clasen <mclasen@redhat.com>
Make gdk_window_process_[all]_updates() respect
update_freeze_counter (#144272, Soeren Sandmann)
* gdk/gdkwindow.c (gdk_window_schedule_update): New function to
install an idle for gdk_window_update_idle() if one isn't there
already.
(gdk_window_process_all_updates):
(gdk_window_process_updates): Only process the updates if the
window isn't frozen.
(gdk_window_invalidate_maybe_recurse): Schedule an update when
necessary.
(gdk_window_thaw_updates): Use gdk_window_schedule_update() instead
of directly installing the idle.
Matthias Clasen [Thu, 26 Aug 2004 05:33:13 +0000 (05:33 +0000)]
Add gdk_pixbuf_new_from_file_at_scale(), which is just like
Thu Aug 26 01:23:16 2004 Matthias Clasen <maclas@gmx.de>
* gdk-pixbuf-core.h:
* gdk-pixbuf.symbols:
* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file_at_scale):
Add gdk_pixbuf_new_from_file_at_scale(), which is just
like gdk_pixbuf_new_from_file_at_size(), but optionally
ignores the aspect ratio. (#136395, Dom Lachowicz)
Robert Ögren [Thu, 26 Aug 2004 00:57:40 +0000 (00:57 +0000)]
On Win32, make graphical tablets work on multi-monitor systems. (#145467,
2004-08-22 Robert Ögren <gtk@roboros.com>
On Win32, make graphical tablets work on multi-monitor systems.
(#145467, reported by buttknock1@ya...)
* gdk/win32/gdkinput-win32.c (gdk_input_translate_coordinates):
Use dimensions of _gdk_parent_root as screen size.
(gdk_input_get_root_relative_geometry): Get coordinates relative
to GDK root window instead of Win32 coordinates.
(_gdk_input_other_event): Updated accordingly.
Manish Singh [Thu, 26 Aug 2004 00:23:46 +0000 (00:23 +0000)]
remove unused gdk_font_charset_for_locale() function.
Wed Aug 25 17:24:17 2004 Manish Singh <yosh@gimp.org>
* gdk/x11/gdkfont-x11.c: remove unused gdk_font_charset_for_locale()
function.
* gdk/x11/gdkinput-x11.c (_gdk_input_common_init): remove unused
variables num_extensions and extensions.
* gtk/gtkhsv.c: remove unused gtk_hsv_get_focus_gc() function.
Manish Singh [Thu, 26 Aug 2004 00:21:34 +0000 (00:21 +0000)]
remove unused set_need_recomposite() function.
Wed Aug 25 17:23:23 2004 Manish Singh <yosh@gimp.org>
* io-gif.c: remove unused set_need_recomposite() function.
Manish Singh [Thu, 26 Aug 2004 00:20:25 +0000 (00:20 +0000)]
initialize path so we don't potentially use an undefined pointer.
Wed Aug 25 17:14:58 2004 Manish Singh <yosh@gimp.org>
* gtk/gtktreeview.c (gtk_tree_view_search_activate): initialize
path so we don't potentially use an undefined pointer.
* gtk/gtkfilechooserdefault.c (shortcuts_list_create): add G_CALLBACK
cast for tree_view_keybinding_cb.
* gtk/gtkfilechooserdefault.c (location_entry_create): cast to
GTK_FILE_CHOOSER_ENTRY for _gtk_file_chooser_entry_set_file_part()
calls.
* gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_start_editing):
cast to GTK_COMBO_BOX for gtk_combo_box_set_active_iter() call.
* gtk/gtkselection.c (selection_get_text_plain): make len a gsize,
since that's what g_convert_with_fallback() expects.
David Lodge [Wed, 25 Aug 2004 22:11:16 +0000 (22:11 +0000)]
Updated Old English translation
2004-08-25 David Lodge <dave@cirt.net>
* ang.po: Updated Old English translation
Jonathan Blandford [Wed, 25 Aug 2004 20:15:45 +0000 (20:15 +0000)]
activate the typeahead entry on enter.
Wed Aug 25 16:14:34 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_search_activate): activate the
typeahead entry on enter.
Matthias Clasen [Wed, 25 Aug 2004 20:06:29 +0000 (20:06 +0000)]
Steal ATTACHED_MENUS list so its tail isn't freed when we re-set it,
2004-08-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmenu.c (gtk_menu_attach_to_widget): Steal ATTACHED_MENUS
list so its tail isn't freed when we re-set it, noticed
by Hans Petter Jansson.
Matthias Clasen [Wed, 25 Aug 2004 20:00:00 +0000 (20:00 +0000)]
Fix a typo, noticed by Tim Janik.
2004-08-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtksizegroup.c (gtk_size_group_add_widget): Fix
a typo, noticed by Tim Janik.
Jonathan Blandford [Wed, 25 Aug 2004 19:19:43 +0000 (19:19 +0000)]
Change the Down button to be end-justified, so that clicking on it is a
Wed Aug 25 15:15:56 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkpathbar.c (gtk_path_bar_size_allocate): Change the Down
button to be end-justified, so that clicking on it is a stable
operation.
Jonathan Blandford [Wed, 25 Aug 2004 19:10:38 +0000 (19:10 +0000)]
Don't handle the event if we have no children.
Tue Aug 24 02:06:37 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtktreeview.c
(gtk_tree_view_real_expand_collapse_cursor_row): Don't handle the
event if we have no children.
* gtk/gtkfilechooserdefault.c (trap_activate_cb):
(tree_view_keybinding_cb):Since GtkTreeView has a keybinding
attached to '/', we need to catch keypresses before the TreeView
gets them.
(gtk_file_chooser_default_class_init): add '/' to be a keybinding
to the C-l dialog.
(location_entry_create): Clear the text to "" when loading a file.
This has a much better feel than putting the currently selected
in.
* #include <errno.h>
Gustavo Maciel Dias Vieira [Wed, 25 Aug 2004 18:05:26 +0000 (18:05 +0000)]
Some consistency fixes.
2004-08-25 Gustavo Maciel Dias Vieira <gustavo@sagui.org>
* pt_BR.po: Some consistency fixes.
Matthias Clasen [Wed, 25 Aug 2004 16:59:57 +0000 (16:59 +0000)]
Use get_file_info() rather than trying get_folder() and checking for an
2004-08-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (check_is_folder): Use get_file_info() rather
than trying get_folder() and checking for an error directly because older
versions of the gnome-vfs backend don't return an error
immediately. (#150852, Zack Cerza )
Matthias Clasen [Wed, 25 Aug 2004 16:41:47 +0000 (16:41 +0000)]
Version bump.
Matthias Clasen [Wed, 25 Aug 2004 16:21:15 +0000 (16:21 +0000)]
2.5.2
Matthias Clasen [Wed, 25 Aug 2004 04:04:32 +0000 (04:04 +0000)]
Update to 2.5.2
Søren Sandmann [Tue, 24 Aug 2004 22:37:23 +0000 (22:37 +0000)]
Fix logical errors in gtk_list_store_move_before/after(). (#150983, patch
Wed Aug 25 00:09:07 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_move_after): Fix logical
errors in gtk_list_store_move_before/after(). (#150983, patch by
Robert Ögren).
Søren Sandmann [Tue, 24 Aug 2004 22:23:29 +0000 (22:23 +0000)]
Remove debug spew
Wed Aug 25 00:22:48 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtksequence.c: Remove debug spew
Matthias Clasen [Tue, 24 Aug 2004 20:25:15 +0000 (20:25 +0000)]
Use the correct index, and compare correctly, reported by Tommi
2004-08-24 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_new_with_mime_type): Use
the correct index, and compare correctly, reported by Tommi Komulainen.
Matthias Clasen [Tue, 24 Aug 2004 19:53:58 +0000 (19:53 +0000)]
Use the correct index, reported by Tommi Komulainen.
2004-08-24 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_new_with_mime_type): Use
the correct index, reported by Tommi Komulainen.
Søren Sandmann [Tue, 24 Aug 2004 19:48:38 +0000 (19:48 +0000)]
Just return if the parameters are identical. (#150159, Robert Ögren)
Tue Aug 24 21:46:42 2004 Søren Sandmann <sandmann@redhat.com>
* gtk/gtksequence.c (_gtk_sequence_move): Just return if the
parameters are identical. (#150159, Robert Ögren)
Matthias Clasen [Tue, 24 Aug 2004 14:51:39 +0000 (14:51 +0000)]
Handle action_group being NULL. (#150869, Tommi Komulainen)
2004-08-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaction.c (connect_proxy, disconnect_proxy): Handle
action_group being NULL. (#150869, Tommi Komulainen)
Matthias Clasen [Tue, 24 Aug 2004 14:44:43 +0000 (14:44 +0000)]
Actually free the temporary pixbuf data.
Matthias Clasen [Tue, 24 Aug 2004 14:32:15 +0000 (14:32 +0000)]
Use the correct index variable. (#150941, Tommi Komulainen)
2004-08-24 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkimage.c (allocate_scratch_images): Use the correct
index variable. (#150941, Tommi Komulainen)
Matthias Clasen [Tue, 24 Aug 2004 14:26:47 +0000 (14:26 +0000)]
Take header height and adjustment into account. (#136496, Pawek Salek)
2004-08-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_node_queue_redraw): Take header
height and adjustment into account. (#136496, Pawek Salek)
Matthias Clasen [Tue, 24 Aug 2004 13:54:26 +0000 (13:54 +0000)]
Work around bugs in the runlength encoder by forcing rowstride * height to
2004-08-24 Matthias Clasen <mclasen@redhat.com>
* gdk-pixdata.c (gdk_pixdata_from_pixbuf): Work around bugs in
the runlength encoder by forcing rowstride * height to be
divisible by bpp. (#150882)
Matthias Clasen [Tue, 24 Aug 2004 06:29:25 +0000 (06:29 +0000)]
Include visual index.
Tue Aug 24 02:28:21 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-docs.sgml: Include visual index.
* gtk/visual_index.xml: New file listing images for
visual index.
Matthias Clasen [Tue, 24 Aug 2004 06:27:05 +0000 (06:27 +0000)]
Add visual index images.
Tue Aug 24 02:26:25 2004 Matthias Clasen <maclas@gmx.de>
* gtk/Makefile.am (HTML_IMAGES): Add visual index images.
Jonathan Blandford [Mon, 23 Aug 2004 21:22:55 +0000 (21:22 +0000)]
add the doc shooter to the docs dir as an uninstalled helper tool.
Mon Aug 23 17:19:19 2004 Jonathan Blandford <jrb@redhat.com>
* configure.in:
* docs/tools/Makefile.am (clean-local): add the doc shooter to the
docs dir as an uninstalled helper tool.
Jonathan Blandford [Mon, 23 Aug 2004 20:57:03 +0000 (20:57 +0000)]
add images to the doc build.
Mon Aug 23 16:56:15 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/Makefile.am: add images to the doc build.
Raymond Penners [Mon, 23 Aug 2004 20:53:53 +0000 (20:53 +0000)]
Scrollbar patch
Matthias Clasen [Mon, 23 Aug 2004 19:05:04 +0000 (19:05 +0000)]
Make it compile.
Matthias Clasen [Mon, 23 Aug 2004 17:10:34 +0000 (17:10 +0000)]
Add a user_time field.
2004-08-23 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Add a
user_time field.
* gdk/x11/gdkwindow-x11.c (gdk_x11_window_set_user_time): Update
toplevel->user_time.
(show_window_internal): Update the user time when re-mapping a
toplevel window. (#150502, Elijah Newren)
Soeren Sandmann [Mon, 23 Aug 2004 15:51:44 +0000 (15:51 +0000)]
Remove conflict markers.
Mon Aug 23 17:33:52 2004 Soeren Sandmann <sandmann@redhat.com>
* ChangeLog: Remove conflict markers.
Matthias Clasen [Mon, 23 Aug 2004 15:37:23 +0000 (15:37 +0000)]
Fix #150822, reported by Christian Persch
2004-08-23 Matthias Clasen <mclasen@redhat.com>
Fix #150822, reported by Christian Persch
* gtk/gtklabel.c (gtk_label_ensure_layout): Set the layout width
appropriately when ellipsized.
(gtk_label_size_allocate): Only set the layout width if there
is a layout.
Matthias Clasen [Mon, 23 Aug 2004 15:12:04 +0000 (15:12 +0000)]
Support the latest EWMH additions to the _NET_ACTIVE_WINDOW client message
2004-08-23 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkwindow-x11.c (gdk_window_focus): Support the latest
EWMH additions to the _NET_ACTIVE_WINDOW client message
format. (#150668, Elijah Newren)
cinamod [Mon, 23 Aug 2004 14:11:28 +0000 (14:11 +0000)]
bump version number
Iñaki Larrañaga [Mon, 23 Aug 2004 11:04:04 +0000 (11:04 +0000)]
Updated Basque translation.
2004-08-23 Iñaki Larrañaga <dooteo@euskalgnu.org>
* eu.po: Updated Basque translation.
Matthias Clasen [Mon, 23 Aug 2004 05:19:52 +0000 (05:19 +0000)]
Set unused bits in pixel to 1s in case they are used as alpha; copying
Mon Aug 23 01:17:59 2004 Matthias Clasen <maclas@gmx.de>
* gdk/gdkrgb.c (gdk_rgb_xpixel_from_rgb_internal): Set unused
bits in pixel to 1s in case they are used as alpha; copying
code from gdk_colormap_alloc_colors(). (#150466, Rich Wareham)
Philip Langdale [Sun, 22 Aug 2004 23:45:36 +0000 (23:45 +0000)]
Two signals (gtk_action_sync_property and gtk_action_sync_sensitive) were
2004-08-22 Philip Langdale <plangdale@vmware.com>
* gtk/gtkaction.c (gtk_action_disconnect_proxy): Two signals
(gtk_action_sync_property and gtk_action_sync_sensitive) were
not being correctly disconnected, leading to actions continuing
to affect disconnected proxies. (#150607)
Tor Lillqvist [Sun, 22 Aug 2004 19:16:22 +0000 (19:16 +0000)]
Don't show TEMP windows in the Task Manager. Implement by calling
2004-08-22 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkwindow-win32.c (gdk_window_new_internal,
gdk_window_new, gdk_window_set_skip_taskbar_hint): Don't show TEMP
windows in the Task Manager. Implement by calling
gdk_window_set_skip_taskbar_hint(TRUE) on them. (#145481, Tim
Evans)
Tor Lillqvist [Sun, 22 Aug 2004 16:59:14 +0000 (16:59 +0000)]
Report whole of (primary) monitor, including any taskbars. Excluding the
2004-08-22 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkdisplay-win32.c (enum_monitor, gdk_display_open):
Report whole of (primary) monitor, including any taskbars.
Excluding the taskbar area from the "root window" reported to GDK
doesn't seem to be that useful although gdk/win32 had been doing it
for a very long time. (#149013, see also #145467 and #148526)
Soeren Sandmann [Sun, 22 Aug 2004 14:58:15 +0000 (14:58 +0000)]
gtk/gtkexpander.c
Sun Aug 22 16:55:15 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkexpander.c
* gtk/gtkalignment.c:
* gtk/gtktexttag.c
Make enums match property names. Found by a script by Tommi
Komulainen.
* gtk/gtkpaned.c (gtk_paned_class_init): fix min/max mixup.
Sun Aug 22 16:09:49 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkliststore.h (struct _GtkListStore):
* gtk/gtkliststore.c (gtk_list_store_init):
* gtk/gtkliststore.c (gtk_list_store_insert):
* gtk/gtkliststore.c (gtk_list_store_remove):
Restore length field; PyGTK and maybe others use it directly.
Soeren Sandmann [Sun, 22 Aug 2004 14:11:04 +0000 (14:11 +0000)]
Restore length field; PyGTK and maybe others use it directly.
Sun Aug 22 16:09:49 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkliststore.h (struct _GtkListStore):
* gtk/gtkliststore.c (gtk_list_store_init):
* gtk/gtkliststore.c (gtk_list_store_insert):
* gtk/gtkliststore.c (gtk_list_store_remove):
Restore length field; PyGTK and maybe others use it directly.
Soeren Sandmann [Sun, 22 Aug 2004 14:05:30 +0000 (14:05 +0000)]
s/CYCLE_HANDLE_FOCUS/CYCLE_CHILD_FOCUS/
Sun Aug 22 15:46:56 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkpaned.c (gtk_paned_class_init):
s/CYCLE_HANDLE_FOCUS/CYCLE_CHILD_FOCUS/
* gtk/gtkfontbutton.c (gtk_font_button_class_init):
s/PROP_SHOW_SIZE/PROP_SHOW_STYLE/
Both pointed out by Tommi Komulainen.
Soeren Sandmann [Sun, 22 Aug 2004 12:10:14 +0000 (12:10 +0000)]
Use PROP_MAX_POSITION, not PROP_MIN_POSITION for the max_position
Sun Aug 22 13:44:53 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkpaned.c (gtk_paned_class_init): Use PROP_MAX_POSITION,
not PROP_MIN_POSITION for the max_position property. Fix pointet
out by Tommi Komulainen.